package com.genesis.mall.service.impl;

import com.genesis.mall.entity.UmsAdminRoleRelation;
import com.genesis.mall.entity.UmsRole;
import com.genesis.mall.mapper.UmsRoleMapper;
import com.genesis.mall.service.IUmsRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 后台用户角色表 服务实现类
 * </p>
 *
 * @author author
 * @since 2022-08-01
 */
@Service
public class UmsRoleServiceImpl extends ServiceImpl<UmsRoleMapper, UmsRole> implements IUmsRoleService {
    @Autowired
    private UmsRoleMapper umsRoleMapper;
    @Override
    public UmsRole findById(UmsAdminRoleRelation adminRoleRelation) {
        return umsRoleMapper.findById(adminRoleRelation);
    }
}
